package com.zmn.plat.model.entity.key;

import java.math.BigInteger;
import java.util.Date;

/**
 * 随机码
 *
 * @author duanzuocai
 * @version v1.0
 * @since 2019/1/18 19:33
 */
public class BaseKey {
    private Integer id;
    private Integer type;
    private Integer status;
    private String key;
    private BigInteger keyInt;

    public BaseKey(Integer type, Integer status, String key, BigInteger keyInt, Date createTime) {
        this.type = type;
        this.status = status;
        this.key = key;
        this.keyInt = keyInt;
        this.createTime = createTime;
    }

    private Date createTime;
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public BigInteger getKeyInt() {
        return keyInt;
    }

    public void setKeyInt(BigInteger keyInt) {
        this.keyInt = keyInt;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
